// const api = 'http://roe.icebartech.com/api'
const api = 'http://47.91.141.150:60818/api'
module.exports = {
  // 员工
  STAFF: {
    LOGIN: api + '/staff/user/staffLogin', // 登录接口
    CHANGEPWD: api + '/staff/user/modifyPwd', // 修改密码
  },
  // banner
  BANNER: {
    GETBANNER: api + '/staff/banner/findBannerByAll'
  },
  // 资讯
  INFO: {
    GETINFO: api + '/staff/info/findInfoById',
    GETINFOBYPAGE: api + '/staff/info/findInfoByPage',
    GETTOPINFO: api + '/staff/info/findTopInfo' // 获取爆炸资讯
  },
  // 英雄榜
  HERO: {
    GETHEROBYID: api + '/staff/hero/findStaffInfoById', // 查询员工信息详情
    GETHEROBYPAGE: api + '/staff/hero/findStaffInfoByPage', // 分页获取员工信息
    GETHERORANK: api + '/staff/hero/getStaffRankingByPage' // 分页获取英雄榜
  },
  PROJECTS: {
    GETPROJECTSBYPAGE: api + '/staff/project/findProjectByPage', // 获取项目列表
    GETPROJECTBYID: api + '/staff/project/findProjectDetail' // 获取项目详情
  },
  BACKGROUND: {
    FINDALL: api+'/admin/background/findBackgroundAll',
    SAVEBACKGROUND: api + '/admin/background/saveBackground',
    FINDBACKGROUND: api + '/admin/background/findAdminBackground',
    FINDSTAFFBACKGROUND: api + '/staff/background/findStaffBackground'
  },
  SYSTEM: {
    LOADDICTIONARY: api + '/sys/loadDictionary',
  }
}
